package com.androway.domains;

import java.util.Set;

import com.google.gson.annotations.Expose;

public class Book extends AbstractPersistentObject
{
	public static final int			STATUS_AVAILABLE	= 0;
	public static final int			STATUS_BOOKED		= 1;
	public static final int			STATUS_BORROWED		= 2;
	public static final int			STATUS_RETURNED		= 3;

	@Expose
	private String					title;
	@Expose
	private String					description;
	@Expose
	private String					author;
	@Expose
	private int						status;
	@Expose
	private Set<BookReservation>	reservationList;
	private School					school;

	public String getTitle()
	{
		return this.title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public String getDescription()
	{
		return this.description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public String getAuthor()
	{
		return this.author;
	}

	public void setAuthor(String author)
	{
		this.author = author;
	}

	public int getStatus()
	{
		return this.status;
	}

	public void setStatus(int status)
	{
		this.status = status;
	}

	public Set<BookReservation> getReservationList()
	{
		return this.reservationList;
	}

	public void setReservationList(Set<BookReservation> reservationList)
	{
		this.reservationList = reservationList;
	}

	public School getSchool()
	{
		return this.school;
	}

	public void setSchool(School school)
	{
		this.school = school;
	}
}
